<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			window.onload=function(){
				//document.getElementById("yourname").innerHTML=window.sessionStorage.getItem("mingzi");
				document.getElementById("yourname").innerHTML=window.localStorage.getItem("mingzi");
			}
		</script>
	</head>
	<body>
		你的名字：
		<h1 id="yourname"></h1>
	</body>
</html>